package com.zhai.trigger.dto;

import lombok.Data;

import java.util.List;

/**
 * @author Fuzhengwei bugstack.cn @小傅哥
 * @description 抽奖策略规则，权重配置，查询N次抽奖可解锁奖品范围，响应对象
 * @create 2024-05-03 09:35
 */
@Data
public class RaffleStrategyRuleWeightResponseDTO {

    // 权重规则配置的抽奖次数
    private Integer ruleWeightCount;
    // 用户已抽奖次数
    private Integer userActivityAccountTotalUseCount;
    //用户当前权重下可中奖的列表
    private List<StrategyAward> strategyAwards;

    @Data
    public static class StrategyAward {
        /**
         * 奖品id
         */
        private Integer awardId;
        // 奖品标题
        private String awardTitle;
    }

}
